home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / gs24src.zip / GSCONFIG.BAT < prev    next >
DOS Batch File  |  1992-03-07  |  729b  |  32 lines

  1. @echo off
  2. if '%1'=='+' goto noinit
  3. echo + >_temp_.dob
  4. echo # >_temp_.dow
  5. echo /* */ >_temp_.dh
  6. echo /* */ >_temp_.dop
  7. echo + >_temp_.dlb
  8. echo %% >_temp_.dps
  9. echo @echo off >_temp_.bat
  10. goto top
  11. :noinit
  12. shift
  13. :top
  14. if '%1'=='' goto done
  15. if '%1'=='+' goto nofin
  16. type %1 >>_temp_.bat
  17. shift
  18. goto top
  19. :done
  20. command /c _temp_.bat
  21. sort <_temp_.dob | %GS_RUN_EXE% uniq >obj.tr
  22. sort <_temp_.dow | %GS_RUN_EXE% uniq >objw.tr
  23. if exist gconfig.h erase gconfig.h
  24. rename _temp_.dh gconfig.h
  25. sort <_temp_.dop | %GS_RUN_EXE% uniq >>gconfig.h
  26. if exist lib.tr erase lib.tr
  27. rename _temp_.dlb lib.tr
  28. sort <_temp_.dps | %GS_RUN_EXE% uniq >gconfig.ps
  29. erase _temp_.d*
  30. erase _temp_.bat
  31. :nofin
  32.